#ifndef DIRDATA_H
#define DIRDATA_H
#include "widget.h"
#include <QWidget>
#include <QStandardItemModel>
class DirData: public QWidget
{
    Q_OBJECT
public:
    DirData();

    ~DirData();
    void deleteAll();
    void addRowDatas(QString name,int size ,QString flag);
    void setModel();
    void setWidget(Widget* ptr);
public:
    QString _name;
    QStandardItemModel* _model;
    Widget* _leader;
};
#endif // DIRDATA_H
